Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: Adding doc link to doc.send
Feedback Type: Question
Product Area: Designer Client
Technical Area: Application development
Platform: ALL
Release: All
Reproducible: Not applicable

Hi, I need help adding to the the existing script, shown below, which would send an email that includes a doc link to the newly created document. The code is not mine, I really don't know script, I usually use @MailSend with [IncludeDoclink].

Thanks, Paul

-----------------------------------------------------------------------------

Sub Click(Source As Button)
'Create Socket from Config # 1
Dim session As New NotesSession
Dim db As NotesDatabase
Dim workspace As New NotesUIWorkspace
Dim collection As NotesDocumentCollection
Set db=session.CurrentDatabase
Dim uidoc As NotesUIDocument
Dim doc As NotesDocument
Set uidoc=workspace.CurrentDocument
Set doc=uidoc.Document
Dim newdoc As NotesDocument

Set collection = workspace.PickListCollection(1,False, "D01DBR06/01/A/IBM","s_dir\sockets1.nsf","9. Admin\Available Blank Forms\Sockets","Available Order Numbers","Please select an Order Number.")

Set newdoc = collection.GetFirstDocument

newdoc.Form = "AddSocket 3.0"

***???NEW SEND EMAIL CODE???***

Call newdoc.Save(True,True)
Call workspace.editDocument(False,newdoc)
Call workspace.EditDocument(True)
End If
End Sub


Feedback number WEBB9M4SJB created by ~Rebecca Opfoogen on 07/17/2014

Status: Open
Comments:

Adding doc link to doc.send (~Rebecca Opfoog... 17.Jul.14)
. . Here is the example straight from D... (~Fritz Ekfoober... 17.Jul.14)
. . . . Perfect, Thanks!!! (~Rebecca Opfoog... 18.Jul.14)
. . . . . . Post your code. (~Fritz Ekfoober... 18.Jul.14)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS